package com.qk.common.event;

import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class CleanupCompletedEvent<T> {
    private final List<T> cleanedItems;
    private final int successCount;
    private final int failureCount;
    private final LocalDateTime completionTime = LocalDateTime.now();
    private final String targetType;
    
    public CleanupCompletedEvent(List<T> cleanedItems, int successCount, int failureCount, String targetType) {
        this.cleanedItems = cleanedItems;
        this.successCount = successCount;
        this.failureCount = failureCount;
        this.targetType = targetType;
    }
}